package annotation;

import lombok.Data;
import lombok.extern.slf4j.Slf4j;

/**
 * @Description:苹果类
 * @author: me@longlonggo.com
 * @Date: 2018/12/11
 */
@Slf4j
@Data
public class Apple {

    @FruitName("Apple")
    private String appleName;

    @FruitColor(fruitColor = FruitColor.Color.GREEN)
    private String appleColor;

    @FruitProvider(id = 1, name = "陕西红富士", address = "陕西省西安市延安路89号红富士大厦")
    private String appleProvider;

}
